<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="init.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>成龙网-教员简历</title>
		<meta name="keywords" content="教员简历" />
		<meta name="author" content="成龙网" />
		<meta name="copyright" content="成龙网" />


		<style type="text/css">
<!--
.STYLE1 {
	color: #FF0000
}

.STYLE6 {
	color: #666666
}

.STYLE7 {
	color: #0000FF
}
-->
</style>
		<script src="${ctx }/common/js/moveloc.js" type="text/javascript"></script>
		<script language="javascript">
	function CheckValue(jianli_modify)
	{
		if(document.jianli_modify.address1.value=="")
		{
			alert ("对不起,生活地址不能为空");
			document.jianli_modify.address1.focus();
			return (false);
		}
		
		if(document.jianli_modify.telephone.value=="")
		{
			alert("对不起,电话不能为空");
			document.jianli_modify.telephone.focus();
			return (false);
		}
		
		if(document.jianli_modify.mobile.value=="")
		{
			alert("对不起,手机不能为空");
			document.jianli_modify.mobile.focus();
			return (false);
		}
		
		if(document.jianli_modify.mobile.value=="")
		{
			alert("对不起,移动电话不能为空");
			document.jianli_modify.mobile.focus();
			return (false);
		}
		
		if(document.jianli_modify.address3.value=="")
		{
			alert("对不起,通信地址不能为空");
			document.jianli_modify.address3.focus();
			return (false);
		}

		document.jianli_modify.first_subject.value="";//初始化
		for(i=0;i<document.jianli_modify.MyFirstJob.length;i++)
		{
			 document.jianli_modify.first_subject.value=document.jianli_modify.first_subject.value+document.jianli_modify.MyFirstJob.options[i].value+",";
			 if(i>6)
			 {
			 alert("您选择的科目超过了6个！请适当删除部分科目！");
			 return (false);
			 }
		}
		
		document.jianli_modify.teach_place.value="";//初始化
		for(i=0;i<document.jianli_modify.SecondTeachPlace.length;i++)
		 {
			document.jianli_modify.teach_place.value=document.jianli_modify.teach_place.value+document.jianli_modify.SecondTeachPlace.options[i].value+",";
			if(i>6)
			 {
			 alert("您选择的授课区域超过了6个！请适当删除部分区域！");
			 return (false);
			 }
		 }
		 
		 //判断first_subject是否为空
		if(document.jianli_modify.first_subject.value=="")
		{
			alert("对不起，请选择可以授课的科目.");
			document.jianli_modify.MyFirstJob.focus();
			return (false);
		}
		 
		 //判断teach_place是否为空
		if(document.jianli_modify.teach_place.value=="")
		{
			alert("对不起，请选择可以授课的区域.");
			document.jianli_modify.FirstTeachPlace.focus();
			return (false);
		}
		
		if(document.jianli_modify.appraise_self.value == "")
		{
			alert("对不起，自我描述不能为空.");
			document.jianli_modify.appraise_self.focus();
			return (false);
		}		
		var len = document.jianli_modify.teach_mode.length;
		var check = false;
		var i;
		for(i=0;i<len;i++)
		{
			if(document.jianli_modify.teach_mode[i].checked == true)
			{
				check = true;
				break;
			}
		}
		if(!check)
		{
			alert ("至少要选择一种教学方式.");
			document.jianli_modify.teach_mode[0].focus();
			return (false);
		}
		
		if(document.jianli_modify.pay.value== "")
		{
			alert("对不起，薪水要求不能为空.");
			document.jianli_modify.pay.focus();
			return (false);
		}
		return (true);
		
	}
</script>
		<link href="common/css/style.css" type="text/css" rel="stylesheet">
	</head>


	<body>
		<jsp:include page="../top.jsp" />
		<!--[if !IE]>导航结束，主区开始<![endif]-->
		<div class="main ZXmainbg clearfix">
			<div class="jyleft">
				<jsp:include page="tc_nav.jsp" />
			</div>


			<div class="jyright">
				<div class="jyt1">
					<a href="${ctx }/teacher/manage.action?id=${teacher.id}"><img
							src="${ctx }/common/image/d05.gif" height="11" width="10">
							教员管理系统
					</a>
				</div>
				<div class="nr">
					欢迎您
					<span class="jyred"> ${teacher.username } </span>，您的教员编号是
					<span class="jyred"> ${teacher.id } </span>。
					<br />
					为了保证您的个人资料不被窃取或修改，请务必在离开时退出并关闭浏览器窗口！
				</div>
			</div>
			<div class="jyxx">
				<form name="jianli_modify" id="jianli_modify" method="post"
					action="manage!save.action" onsubmit="return CheckValue(this)">
					<input type="hidden" name="id" value="${id }" />
					<div>
					</div>
					<table border="0" cellpadding="0" cellspacing="0" height="125"
						width="738">
						<tbody>
							<tr>
								<td align="center" height="25" valign="middle">
									<span class="zt1">您所填信息越详细就越有利于检索，也就越容易获得学员的</span><span
										class="zt1">预约。</span>
								</td>
							</tr>
							<tr class="titlebg">
								<td align="center" height="25">
									<strong>基 本 信 息</strong>
								</td>
							</tr>
							<tr>
								<td align="center" height="25" valign="middle">
									<table align="left" border="1" bordercolor="#FFFFFF"
										cellpadding="1" cellspacing="1" width="751">
										<tbody>
											<tr class="trbgc">
												<td align="right" height="25" valign="middle" width="100">
													真实姓名：
												</td>
												<td colspan="3" align="left" height="25" valign="middle">
													${realname}
												</td>
											</tr>
											<tr class="trbgc1">
												<td align="right" height="25" valign="middle">
													性别：
												</td>
												<td align="left" height="25" valign="middle" width="248">
													${sex}
												</td>
												<td align="right" valign="middle" width="87">
													出生日期:
												</td>
												<td align="left" valign="middle" width="313">
													${birthday}
												</td>
											</tr>
											<tr class="trbgc">
												<s:if test="indentityFlag eq 3">
													<td align="right" height="25" valign="middle">
														来自国家：
													</td>
													<td align="left" height="25" valign="middle">
														${nativePlace}
													</td>
												</s:if>
												<s:else>
													<td align="right" height="25" valign="middle">
														出生省份：
													</td>
													<td align="left" height="25" valign="middle">
													${bornPlace}
													</td>
												</s:else>
												
												
												<td align="right" valign="middle">
													目前学历：
												</td>
												<td align="left" valign="middle">
													${educationalLevel}
												</td>
											</tr>
											<tr class="trbgc1">
												<td align="right" height="25" valign="middle">
													身份证/护照：
												</td>
												<td align="left" height="25" valign="middle">
													${idCard}
												</td>
												<td align="right" height="25" valign="middle">
													专业：
												</td>
												<td align="left" height="25" valign="middle">
													${major}
												</td>
											</tr>
											<tr class="trbgc">
												<td align="right" valign="middle">
													目前身份：
												</td>
												<td align="left" valign="middle">
													<s:if test="indentityFlag eq 1">
														${indentityStu}
													</s:if>
													<s:elseif test="indentityFlag eq 2 ">
														${indentityTea}
													</s:elseif>
													<s:elseif test="indentityFlag eq 3 ">
														${indentityOut}
													</s:elseif>
												</td>
												<s:if test="indentityFlag eq 1">
													<td align="right" valign="middle">
														就读高校：
													</td>
													<td align="left" valign="middle">
														${studySchool} &nbsp;&nbsp;${studySchoolTxt}
													</td>
												</s:if>
												<s:elseif test="indentityFlag eq 2">
													<td align="right" valign="middle">
														毕业高校：
													</td>
													<td align="left" valign="middle">
														${teaSchool}&nbsp;&nbsp;${teaSchoolTxt2}
													</td>
												</s:elseif>
												<s:elseif test="indentityFlag eq 3">
													<td align="right" valign="middle">
														毕业高校：
													</td>
													<td align="left" valign="middle">
													${teaSchool2}&nbsp;&nbsp;${teaSchoolTxt}
													</td>
												</s:elseif>
											</tr>
											<s:if test="indentityFlag eq 2">
												<tr class="trbgc">
													<td align="right" height="25" valign="middle">
														(最后)任职学校：
													</td>
													<td align="left" height="25" valign="middle">
														${teachSchool}
													</td>
													<td align="right" height="25" valign="middle">
														任教学科：
													</td>
													<td align="left" height="25" valign="middle">
														${teachSubject}
													</td>
												</tr>
												<tr class="trbgc1">
													<td align="right" height="25" valign="middle">
														任职学校类别：
													</td>
													<td align="left" height="25" valign="middle">
														${importantLevel}
													</td>
													<td align="right" height="25" valign="middle">
														教 　龄：
													</td>
													<td align="left" height="25" valign="middle">
														${teachAge}
													</td>
												</tr>
												<tr class="trbgc">
													<td align="right" height="25" valign="middle">
														职称等级：
													</td>
													<td align="left" colspan="3" height="25" valign="middle">
														${technicalLevel}
													</td>
												</tr>
											</s:if>
											<tr>
												<td colspan="4" align="left" height="25" valign="middle">
													【注意】要修改基本信息，请携带相关证件到服务中心，或致电024-31988537
													由工作人员审核后为您修改！
												</td>
											</tr>
										</tbody>
									</table>
								</td>
							</tr>
							<tr>
								<td align="left" height="25" valign="middle">
									<table border="0" cellpadding="0" cellspacing="0" height="43"
										width="729">
										<tbody>
											<tr class="titlebg">
												<td align="center" height="25" valign="middle">
													<strong> 联 系 方 式</strong>
												</td>
											</tr>
											<tr>
												<td align="left" valign="top" width="320">
													<table border="1" bordercolor="#FFFFFF" cellpadding="1"
														cellspacing="1" width="751">
														<tbody>
															<tr class="trbgc">
																<td align="right" height="25" valign="middle" width="80">
																	生活住所：
																	<label></label>
																</td>
																<td align="left" height="25" valign="middle" width="246">
																	<span class="ys1"> <s:select name="address1"
																			id="address1" list="syList" listKey="name"
																			listValue="name" headerKey="" value="address1"
																			headerValue="请选择生活住所" theme="simple">
																		</s:select> </span>
																</td>
																<td align="right" height="25" valign="middle">
																	通信地址：
																</td>
																<td align="left" height="25" valign="middle">
																	<input name="address3" class="zcinput" id="address3"
																		size="22" value="${address3 }" type="text">
																</td>
																<td align="right" valign="middle">
																</td>
																<td align="left" valign="middle">
																	&nbsp;
																</td>
															</tr>
															<tr class="trbgc1">
																<td align="right" height="25" valign="middle">
																	电 话：
																</td>
																<td align="left" height="25" valign="middle">
																	<input name="telephone" value="${telephone }"
																		class="zcinput" id="telephone" size="22"
																		maxlength="50" type="text">
																</td>
																<td align="right" valign="middle">
																	手 机：
																</td>
																<td align="left" valign="middle">
																	<input name="mobile" value="${mobile }" class="zcinput"
																		id="mobile" size="22" maxlength="15"
																		value="15910837804" type="text">
																</td>
															</tr>
															<tr class="trbgc">
																<td align="right" valign="middle">
																	QQ：
																</td>
																<td align="left" valign="middle">
																	<input name="qq" value="${qq }" class="zcinput" id="qq"
																		size="22" maxlength="50" type="text">
																</td>
															<td align="right" height="25" valign="middle">
																	E_mail：
																</td>
																<td align="left" height="25" valign="middle">
																	<input name="email" class="zcinput" id="msn2" size="22"
																		maxlength="50" value="${email }" type="text">
																</td>
															</tr>
														</tbody>
													</table>
												</td>
											</tr>
										</tbody>
									</table>
								</td>
							</tr>

							<tr class="titlebg">
								<td align="center" height="25">
									<strong>家 教 信 息</strong>
								</td>
							</tr>
							<tr>
								<td align="left" height="25" valign="top">
									<table border="1" bordercolor="#FFFFFF" cellpadding="1"
										cellspacing="1" width="751">
										<tbody>
											<tr class="trbgc">
												<td align="center" height="30" valign="middle" width="147">
													可教授科目
													<br>
														(最多选6项，多余部分将被系统自动丢弃！)
												</td>
												<td align="left" height="30" valign="middle" width="190">
													<s:select name="FirstJob" id="FirstJob" list="subjectList"
														listKey="name" listValue="name" theme="simple" size="10"
														class="zcinput" style="width:170px">
													</s:select>
												</td>
												<td align="center" valign="middle">
													<input name="FTianJia2"
														onclick="JavaScript:addloc(document.jianli_modify.FirstJob,document.jianli_modify.MyFirstJob)"
														class="butblue" value="选 取&gt;&gt;&gt;" type="button">
														<font color="#CC0000"><br>
														</font><span class="yel">(选中左侧项目点“选取”即可添加；选中右侧项目点<br>
																“删除”即可删除)
														</span><br>
															<input name="FShanChu2"
																onclick="JavaScript:delloc(document.jianli_modify.FirstJob,document.jianli_modify.MyFirstJob)"
																class="butblue" value="&lt;&lt;&lt;删 除" type="button">
												</td>
												<td align="center" valign="middle" width="223">
													<s:select name="MyFirstJob" id="MyFirstJob"
														list="myFirstJobList" theme="simple" multiple="multiple"
														size="10" class="zcinput" style="width:170px">
													</s:select>

													<input name="firstSubject" id="first_subject" type="hidden">
												</td>
											</tr>
											<tr class="trbgc1">
												<td align="center" height="30" valign="middle">
													其他科目
												</td>
												<td align="left" height="30" valign="middle">
													<input name="otherSubject" id="other_subject"
														class="zcinput" size="22" type="text"
														value="${otherSubject }">
												</td>
												<td colspan="2" align="left" valign="middle">
													<span class="yel">（请不要使用空格，尽量用逗号代替）</span>
												</td>
											</tr>
											<tr class="trbgc"1="">
												<td align="center" height="30" valign="middle">
													所获证书
												</td>
												<td align="left" height="30" valign="middle">
													<textarea name="book" id="other_subject2" cols="24"
														rows="6" class="zcinput">${book }</textarea>
												</td>
												<td colspan="2" class="yel" align="left" valign="middle">
													比如：英语四级，六级
												</td>
											</tr>
											<tr class="trbgc1">
												<td align="center" height="40" valign="middle">
													自我描述
													<br>
														特长展示
												</td>
												<td align="left" height="40" valign="middle">
													<textarea name="appraiseSelf" cols="24" rows="6"
														class="zcinput">${appraiseSelf }</textarea>
												</td>
												<td colspan="2" align="left" valign="middle">
													<span class="yel">展示实力，增加你的魅力！比如你竞赛中获得过什么奖项，取得过什么出色的成绩，有哪些过硬的证书之类。</span><span
														class="green">（请不要使用空格，尽量用逗号代替
														,请控制在600字以内，超过文字被自动删除.）</span>
												</td>
											</tr>
											<tr class="trbgc"1="">
												<td align="center" height="30" valign="middle">
													可授课区域
													<br>
														(最多选6项，多余部分将被系统自动丢弃！) 
												</td>
												<td align="left" height="30" valign="middle">
													<s:select name="FirstTeachPlace" id="FirstTeachPlace"
														list="syList" listKey="name" listValue="name"
														theme="simple" size="8" class="zcinput"
														style="width:170px">
													</s:select>
												</td>
												<td align="center" valign="middle">
													<input name="FTianJia2"
														onclick="JavaScript:addloc(document.jianli_modify.FirstTeachPlace,document.jianli_modify.SecondTeachPlace)"
														class="butblue" value="选 取&gt;&gt;&gt;" type="button">
														<font color="#CC0000"><br>
														</font><span class="yel">(选中左侧项目点“选取”即可添加；选中右侧项目点<br>
																“删除”即可删除)
														</span><br>
															<input name="FShanChu2"
																onclick="JavaScript:delloc(document.jianli_modify.FirstTeachPlace,document.jianli_modify.SecondTeachPlace)"
																class="butblue" value="&lt;&lt;&lt;删 除" type="button">
												</td>
												<td align="center" valign="middle">
													<input name="teachPlace" id="teach_place" type="hidden">
														<s:select name="SecondTeachPlace" id="SecondTeachPlace"
															list="secondTeachPlaceList" theme="simple" size="8"
															multiple="multiple" class="put" style="width:170px">
														</s:select>
												</td>
											</tr>
											<tr class="trbgc1">
												<td align="center" height="30" valign="middle">
													家教简历
													<br>
														学员评价<br>
															教学成果 
												</td>
												<td align="left" height="30" valign="middle">
													<textarea name="resume" cols="24" rows="7" class="zcinput">${resume }</textarea>
												</td>
												<td colspan="2" align="left" valign="middle">
													<span class="yel">这些内容是对你教学水平最有力和最直接的反映！是学员选择你的一项重要依据。格式如：1.2010年10月，**区初三英语，期终学员从全班第40名上升至第5名。2.2010年11月，**区高一数学，期终学员从50分上升至90分</span>。
													<span class="green">(字数600字以内) </span>
												</td>
											</tr>
											<tr class="trbgc">
												<td align="center" height="30" valign="middle">
													辅导方式
												</td>
												<td colspan="3" align="left" height="30" valign="middle">

													<input name="teachModel" id="teach_mode" value="本人上门"
														<s:property value="teachModel.indexOf('本人上门')!=-1?'checked':''"/>
														type="checkbox">
														本人上门 <input name="teachModel" id="teach_mode" value="学生上门"
															<s:property value="teachModel.indexOf('学生上门')!=-1?'checked':''"/>
															type="checkbox">
															学生上门 <input name="teachModel" id="teach_mode"
																value="网上辅导"
																<s:property value="teachModel.indexOf('网上辅导')!=-1?'checked':''"/>
																type="checkbox">
																网上辅导 
												</td>
											</tr>
											<tr class="trbgc1">
												<td align="center" height="30" valign="middle">
													薪水要求
												</td>
												<td align="left" height="30" valign="middle">
													<textarea name="pay" cols="24" rows="5" class="zcinput">${pay }</textarea>
												</td>
												<td colspan="2" align="left" valign="middle">
													<span class="green">【请不要使用空格，尽量使用逗号来代替("，")】</span>
													<br>
														<span class="yel">默认为接受本站的薪水标准</span><a
															href="${ctx }/content.action?id=104"
															target="_blank" class="STYLE7">查看详细的报酬标准</a><span
															class="yel">，如果你不愿接受本站的默认标准，请详细的写出你自己的薪水要求，比如：“小学**元每小时；初一初二**元每小时；初中奥数**元每小时；高中奥数**元每小时；成人**元每小时；钢琴**元每小时”
														</span>
												</td>
											</tr>
											<tr class="trbgc">
												<td colspan="4" align="center" height="30" valign="middle">
													<strong class=" p14 red">注意：</strong><strong
														class=" p12 red">为了保证信息的有效性，修改信息后，我们的工作人员会对你的资料进行重新审核，请慎重！</strong>
												</td>
											</tr>
											<tr class="trbgc">
												<td colspan="4" align="center" height="30" valign="middle">
													<input name="button" class="butblue" id="button"
														value="     提  交    " type="submit">
												</td>
											</tr>
										</tbody>
									</table>
								</td>
							</tr>
						</tbody>
					</table>
				</form>
			</div>
		</div>

		<!--主区结束，底区开始-->
		<jsp:include page="../bottom.jsp" />
	</body>
</html>